﻿using SeaBattle.Domain.Entities;
using System.Collections;
using System.Collections.Generic;

namespace SeaBattle.Domain.Abstract
{
    public interface IGameRepository
    {
        Game CreateNewGame(Player creator);

        bool SaveGame(Game game);

        Game GetGame(int id);

        IEnumerable<Game> GetAllGames();
    }
}
